require "rubygems"
require "ernie"
require 'bert'
load 'lib/user.rb'
#$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
module Ext
    def add(a, b)
        a+b
    end

    def getUser
      bert = BERT.encode(User.new("bill", "111"))
    end
end
Ernie.expose(:ext, Ext)
